<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<input type="hidden" value="${model.id}" name="id">
<input type="hidden" value="${userid}" name="userid">
<input type="hidden" value="${typel}" name="typel">
<div class="form-horizontal">
    <div class="form-group">
        <label class="control-label col-md-1">回复</label>
        <div class="col-md-11">
            <textarea id="content" name="content" style="width:100%;height: 100px">${model.content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <div class="col-md-offset-2 col-md-10">
            <button type="submit" class="btn btn-primary">
                <i class="fa fa-floppy-o"></i> 保存
            </button>
        </div>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function () {
        $("#form3").bootstrapValidator({
            feedbackIcons: {
                valid: 'glyphicon glyphicon-ok',
                invalid: 'glyphicon glyphicon-remove',
                validating: 'glyphicon glyphicon-refresh'
            },
            fields: {
                content: {
                    validators: {
                        notEmpty: {
                            message: '不能为空'
                        }
                    }
                }

            }
        });
    });
</script>
